package com.zxmr.domain.file;

public class ResourceAuthorization {

	int company;
	long resourceId;
	ResourceType resourceType;
	ResourceAction action;
	int role;
	
	// this field only for query
	String roleName;
	public int getCompany() {
		return company;
	}
	public void setCompany(int company) {
		this.company = company;
	}
	
	public long getResourceId() {
		return resourceId;
	}
	public void setResourceId(long resourceId) {
		this.resourceId = resourceId;
	}
	public ResourceType getResourceType() {
		return resourceType;
	}
	public void setResourceType(ResourceType resourceType) {
		this.resourceType = resourceType;
	}
	public ResourceAction getAction() {
		return action;
	}
	public void setAction(ResourceAction action) {
		this.action = action;
	}
	public int getRole() {
		return role;
	}
	public void setRole(int role) {
		this.role = role;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	
	
}
